﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace M.Dao.Client
{
    public class QueryResult : DataResult
    {
        public int Total { get; set; }

        public int PageNo { get; set; }

        public Dictionary<string, object>[] Items { get; set; }
        
    }

    public class QueryResult<T> : DataResult
    {   
        public int Total { get; set; }

        public int PageNo { get; set; }

        public T[] Items { get; set; }

    }
}
